<template>
  <div class="detail-dialog">
    <el-dialog :visible="detailDialog" @close="btnCancel">
      <el-button @click="btnCancel">关闭</el-button>
    </el-dialog>
  </div>
</template>

<script>
export default {
  name: 'DetailDialog',
  data () {
    return {}
  },
  props: {
    detailDialog: {
      type: Boolean,
      default: false
    }
  },
  components: {},
  created () {},
  mounted () {},
  methods: {
    btnCancel () {
      this.$emit('update:detailDialog', false)
    }
  },
  computed: {},
  watch: {}
}
</script>

<style scoped lang="scss">
</style>
